//
//  ShareProducts.swift
//  TanTan_Kotlin
//
//  Created by EDY on 5/26/25.
//

import Foundation

class ShareProducts: ObservableObject {
    @Published var products:[Product] = [
        Product(name: "苹果", price: 9.8, description: "一种水果", imageName: "book"),
        Product(name: "香蕉", price: 19.8, description: "富含钾的水果", imageName: "cart"),
        Product(name: "橙子", price: 49.8, description: "维生素C的水果", imageName: "camera")
    ]
    
    @Published var cart:[Product] = []
}
